<?php echo $this->doctype() ?>
<html>
    <head>
        <meta charset="utf-8">
        <?php echo $this->headTitle() ?>
        <?php echo $this->headMeta() ?>
        <?php
        echo $this->headLink()->headLink(array('rel' => 'icon',
            'href' => '/img/favicon.ico'), 'PREPEND')
        ?>
        <?php echo $this->headStyle() ?>        
        <?php
        echo $this->headScript()
                ->prependFile('/js/init.js')
                ->prependFile('/js/jquery.min.js')
        ?>
    </head>
    <body>
        <div id="main">
            <div id="preload" class="hidden"></div>
            <div class="wrap">
                <div id="menu"><?php echo $this->render('admin/menu.phtml') ?></div>
                <div class="content-wrap">
                    <?php if ($this->flashMessenger->count() > 0) { ?>
                        <div class="ui-message round-all gr-yellow">
                            <div class="message-wrap">
                                <div class="center upper">
                                    <ul>
                                        <?php foreach ($this->flashMessenger->getMessages() as $key => $msg) { ?>
                                            <li><?php echo $msg ?></li>
                                            <?php
                                        }
                                        ?>
                                    </ul>                                            
                                </div>
                                <div class="ui-dots"></div>
                                <div class="center">
                                    
                                </div>
                            </div>
                        </div>
                    <?php } ?>
                    <div id="content"><?php echo $this->layout()->content ?></div>
                </div>
            </div>
            <?php echo $this->inlineScript() ?>
        </div>
    </body>
</html>
